﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using VISS.API.Commons;

namespace VISS.API.Users {

    public enum EUserPropertySendPropertyResult {
        Success = 1,
        NotEnoughPoint = 2,
        NotEnoughCoin = 3,
        SystemError = 4
    }

    public interface IUserProperty {

        EUserPropertySendPropertyResult SendProperty(string senderUserKey, string receiverUserKey, PropertyEnt propertyItem, string message);

        bool AcceptProperty(long iD, string userKey);

        bool DenyProperty(long iD, string userKey);

        bool DeleteProperty(long iD, string userKey);

        int CountNotAcceptedProperty(string userKey);

        int CountAcceptedProperty(string userKey);

        List<UserPropertyEnt> GetNotAcceptedPropertyWithPaging(string userKey, int page, int recordPerPage, out int totalRecord);

        List<UserPropertyEnt> GetAcceptedPropertyWithPaging(string userKey, int page, int recordPerPage, out int totalRecord);
    }
}
